package org.gulugulubiao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface AnsRecordMapper {


    /**
     * 更新答题记录
     * @param problemId
     * @param status
     * @param ansRecordTableName
     */
    @Update("update #{ansRecordTableName} set status = #{status} where problem_id = #{problemId}")
    void update(Integer problemId, Integer status, String ansRecordTableName);

}
